package com.analysis.entity;

import java.time.LocalDateTime;

/**
 * 问题实体类
 */
public class Question {
    
    private Long id;
    private Long companyId;
    private Long projectId;
    private String productName;
    private String question;
    private String competitorName;
    private LocalDateTime created;
    private LocalDateTime modified;
    private Integer enableStatus;
    
    public Question() {}
    
    public Question(Long projectId, String productName, String question) {
        this.projectId = projectId;
        this.productName = productName;
        this.question = question;
    }
    
    // Getters and Setters
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getProjectId() {
        return projectId;
    }
    
    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }
    
    public String getProductName() {
        return productName;
    }
    
    public void setProductName(String productName) {
        this.productName = productName;
    }
    
    public String getQuestion() {
        return question;
    }
    
    public void setQuestion(String question) {
        this.question = question;
    }
    
    public String getCompetitorName() {
        return competitorName;
    }
    
    public void setCompetitorName(String competitorName) {
        this.competitorName = competitorName;
    }
    
    public LocalDateTime getCreated() {
        return created;
    }
    
    public void setCreated(LocalDateTime created) {
        this.created = created;
    }
    
    public LocalDateTime getModified() {
        return modified;
    }
    
    public void setModified(LocalDateTime modified) {
        this.modified = modified;
    }
    
    public Integer getEnableStatus() {
        return enableStatus;
    }
    
    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }
    
    @Override
    public String toString() {
        return "Question{" +
                "id=" + id +
                ", projectId=" + projectId +
                ", productName='" + productName + '\'' +
                ", question='" + question + '\'' +
                ", competitorName='" + competitorName + '\'' +
                ", created=" + created +
                ", modified=" + modified +
                ", enableStatus=" + enableStatus +
                '}';
    }
}
